﻿using System.ComponentModel.DataAnnotations;

namespace BW.EatRabbit.API.Dtos
{
    public class BasicDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
  
        public int BasicInforId { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; }

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int Completeness { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Producer { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverImage { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string? Updator { get; set; }

        /// <summary>
        /// 删除标识列
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
